package com.sjgtw.cloud.web.freeze.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 冻害-回落情况对象 t_eg_freeze_fallback
 * 
 * @author lvyoufang
 * @date 2024-03-17
 */
@ApiModel(value="冻害-回落情况对象", description="t_eg_freeze_fallback")
public class FreezeFallback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 冻害id */
    @ApiModelProperty(value = "冻害id")
    @Excel(name = "冻害id")
    private Long freezeId;

    /** 日期 */
    @ApiModelProperty(value = "日期")
    @Excel(name = "日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fallbackTime;

    /** 回落长度 */
    @ApiModelProperty(value = "回落长度")
    @Excel(name = "回落长度")
    private String fallbackLength;

    /** 还有长度 */
    @ApiModelProperty(value = "还有长度")
    @Excel(name = "还有长度")
    private String stillLength;

    /** 回落高度左 */
    @ApiModelProperty(value = "回落高度左")
    @Excel(name = "回落高度左")
    private String fallbackHeightLeft;

    /** 回落高度右 */
    @ApiModelProperty(value = "回落高度右")
    @Excel(name = "回落高度右")
    private String fallbackHeightRight;

    /** 还有高度左 */
    @ApiModelProperty(value = "还有高度左")
    @Excel(name = "还有高度左")
    private String stillHeightLeft;

    /** 还有高度右 */
    @ApiModelProperty(value = "还有高度右")
    @Excel(name = "还有高度右")
    private String stillHeightRight;

    /** 整修长度 */
    @ApiModelProperty(value = "整修长度")
    @Excel(name = "整修长度")
    private String repairLength;

    /** 创建人id */
    @ApiModelProperty(value = "创建人id")
    @Excel(name = "创建人id")
    private Long createUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFreezeId(Long freezeId) 
    {
        this.freezeId = freezeId;
    }

    public Long getFreezeId() 
    {
        return freezeId;
    }
    public void setFallbackTime(Date fallbackTime)
    {
        this.fallbackTime = fallbackTime;
    }

    public Date getFallbackTime()
    {
        return fallbackTime;
    }
    public void setFallbackLength(String fallbackLength) 
    {
        this.fallbackLength = fallbackLength;
    }

    public String getFallbackLength() 
    {
        return fallbackLength;
    }
    public void setStillLength(String stillLength) 
    {
        this.stillLength = stillLength;
    }

    public String getStillLength() 
    {
        return stillLength;
    }
    public void setFallbackHeightLeft(String fallbackHeightLeft) 
    {
        this.fallbackHeightLeft = fallbackHeightLeft;
    }

    public String getFallbackHeightLeft() 
    {
        return fallbackHeightLeft;
    }
    public void setFallbackHeightRight(String fallbackHeightRight) 
    {
        this.fallbackHeightRight = fallbackHeightRight;
    }

    public String getFallbackHeightRight() 
    {
        return fallbackHeightRight;
    }
    public void setStillHeightLeft(String stillHeightLeft) 
    {
        this.stillHeightLeft = stillHeightLeft;
    }

    public String getStillHeightLeft() 
    {
        return stillHeightLeft;
    }
    public void setStillHeightRight(String stillHeightRight) 
    {
        this.stillHeightRight = stillHeightRight;
    }

    public String getStillHeightRight() 
    {
        return stillHeightRight;
    }
    public void setRepairLength(String repairLength) 
    {
        this.repairLength = repairLength;
    }

    public String getRepairLength() 
    {
        return repairLength;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("freezeId", getFreezeId())
            .append("fallbackTime", getFallbackTime())
            .append("fallbackLength", getFallbackLength())
            .append("stillLength", getStillLength())
            .append("fallbackHeightLeft", getFallbackHeightLeft())
            .append("fallbackHeightRight", getFallbackHeightRight())
            .append("stillHeightLeft", getStillHeightLeft())
            .append("stillHeightRight", getStillHeightRight())
            .append("repairLength", getRepairLength())
            .append("remark", getRemark())
            .append("createUserId", getCreateUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
